public class Test {
    public static void main(String[] args) {
        Integer a=100;
        Integer b=100;
        System.out.println(a==b);

        Integer c=200;
        Integer d=200;
        System.out.println(c==d);
    }
    public static void main1(String[] args) {
        int a=10;
        Integer i=Integer.valueOf(a);//显式装箱
        Integer i2=10;//自动装箱
        a=i2.intValue();//显示拆箱
        a=i2;//自动拆箱
        System.out.println(i);
        System.out.println(i2);
    }
}



